package com.hc.fdkgoods.controller;


import com.hc.fdkgoods.common.Result;
import com.hc.fdkgoods.service.SysShopService;
import com.hc.fdkgoods.vo.ShopIdListVO_15;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/goods")
public class SysShopController {

    @Resource
    SysShopService sysShopService;

    @GetMapping("/shop/web/name_list")
    public Result<ShopIdListVO_15> queryShop(){
        return Result.ok(sysShopService.queryShopList());
    }
}
